home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1999 April / macformat-075.iso / Shareware Plus / Games / GameMaker 2.6.1 Demo / GameMaker v2.61 DEMO / GameMaker v2.61 DEMO.rsrc / TEXT_136_Sounds.txt < prev    next >
Encoding:
Text File  |  1999-01-06  |  3.2 KB  |  38 lines

  1. SOUNDS
  2.  
  3. GameMaker can handle a maximum of 25 different sounds for each project, but you can use the same sound as many times as you like. If there are more than 25 different sounds in your game, only the first 25 will be displayed.
  4.  
  5. NOTE: Sounds that are removed, recorded, or imported will not be saved in the project unless you save the entire project before quitting.
  6.  
  7.  
  8. USING THE "SOUNDS" MENU
  9. Selecting "Sounds‚Ķ" in the "Go" menu displays a dialog window which allows you to remove, import, and record sounds for the current project. All sounds in the project will be listed in a pop-up menu in the window. Below is a description for each of the buttons in the window
  10.  
  11. Remove
  12. This will remove the sound shown in the pop-up menu from the project.
  13.  
  14. Import
  15. Displays a standard "Open" dialog window which lists System 7 sound files. Double-click on a file in the list (or press the "Open" button) to add the sound to your project. Only System 7 sound files can be imported using this method.
  16.  
  17. Record
  18. You can record sounds from within GameMaker if you are using System 7.0 or later. You may also need a microphone if your Mac does not have a built-in one. If you want to record sounds from other devices, you need to set the Sound control panel to the incoming device.
  19.  
  20. Pressing the "Record" button will display a standard recording window. Record a sound and press the "Save" button. Another window will appear asking you to name the sound. Choose a name and press "OK" to add the sound to the project.
  21.  
  22. Rename
  23. Lets you rename the currently selected sound.
  24.  
  25. Try Sound
  26. Plays the currently selected sound. Use this to sample the sounds in the list.
  27.  
  28.  
  29. ADDING SOUNDS USING OTHER SOFTWARE
  30. Sounds can be inserted into a GameMaker document as "snd " resources by using ResEdit or a sound mover program. Make sure the file you're adding sounds to is NOT currently open in GameMaker. Sounds added to a file that is already open will not be available and may be removed when the file is saved. This happens because GameMaker uses a temporary file to store information for the current project.
  31.  
  32. Don't add sounds to GameMaker itself. They will not be listed in the pop-up menus. Sounds are listed and played by name so all sounds must have a name. Do not use an exclamation point, parenthesis, dash line (minus sign), or slash mark in a sound's name because they will not show up correctly in the pop-up menus and will not be able to be played.
  33.  
  34.  
  35. USING SOUNDS IN YOUR GAME
  36. Sounds can be played either when a button is clicked or when a card opens. Use the pop-up menu in the Card Info or Button Info windows to select a sound. If a sound command is encountered while a sound is already playing, the sound that is playing will be stopped so the new sound can be played. For example, suppose a button in card 10 is set to play a sound and then link to card 11. If card 11 is set to play a sound when the card opens, the previous sound will stop playing so the sound in card 11 can be played. You can select the "Delay while sound plays" option for the button's sound so that GameMaker will wait until the sound is finished before opening the next card. That will make sure both sounds are played.
  37.  
  38. If a sound that's used in your game is removed or renamed, the "Play sound" command will simply be ignored and no error will occur.